package com.nfw.demo.service;

import com.nfw.demo.entity.Users;

import java.util.List;

public interface UserService {
    Users login(Users users);
    List<Users> finAllUsers();
    int selectIsName(Users users);
    String selectPasswordByName(Users users);
    Users selectAllByName(String username);  //选择姓名（已经激活，用于shiro）
    Users checkCode(String code); //激活码查询用户
    void updateUserState(Users users); //激活，修改状态1
    void register(Users users);
    int findId(Users users);
    void updatePassword(Users users);
}
